﻿using System;
using System.Collections.Generic;

namespace Core.Data
{

       partial class Date
       {
             public int DateID { get; set;}
             public DateTime Real { get; set;}
             public int Year { get; set;}
             public byte Quarter { get; set;}
             public byte Month { get; set;}
             public int DayOFYear { get; set;}
             public byte Day { get; set;}
             public byte Week { get; set;}
             public byte Weekday { get; set;}
             public byte Hour { get; set;}
             public byte Minute { get; set;}
             public byte ServiceLevel { get; set;}
             public bool ISHoliday { get; set;}
             public bool ISBusinessday { get; set;}
             public bool Prev12Months { get; set;}
             public bool Prev6Months { get; set;}
             public bool Prev3Months { get; set;}
             public bool Prev12Weeks { get; set;}
             public bool Prev4Weeks { get; set;}
             public bool Prev14Days { get; set;}
             public bool Prev7Days { get; set;}
             public bool Prev24Hours { get; set;}
        List<Facts> FactsList { get; set; }
       }

       partial class Computer
       {
             public int ComputerID { get; set;}
             public string ComputerName { get; set;}
             public string Domain { get; set;}
             public int NumberOFProcessors { get; set;}
             public int NumberOFLogicalProcessors { get; set;}
             public long PhysicalMemory { get; set;}
             public bool ISDaylight { get; set;}
             public int CurrentTimezoneOffset { get; set;}
       }

       partial class DeviationPercent
       {
             public byte DeviationPercentID { get; set;}
             public double ValMin { get; set;}
             public double ValMax { get; set;}
        List<Facts> FactsList { get; set; }
       }

       partial class Facts
       {
             public int DateID { get; set;}
             public int PerfmonID { get; set;}
             public double SampledData { get; set;}
             public byte MinDeviationPct { get; set;}
             public byte MaxDeviationPct { get; set;}
             public Date Date { get; set; }
             public DeviationPercent DeviationPercent { get; set; }
             public Perfmon Perfmon { get; set; }
       }

       partial class Instance
       {
             public int InstanceID { get; set;}
             public int ComputerID { get; set;}
             public string InstanceName { get; set;}
        List<Perfmon> PerfmonList { get; set; }
       }

       partial class Perfmon
       {
             public int PerfmonID { get; set;}
             public int InstanceID { get; set;}
             public int PerfmonCounterID { get; set;}
             public string PerfmonInstance { get; set;}
             public int MonitorTimer { get; set;}
             public Instance Instance { get; set; }
             public PerfmonCounter PerfmonCounter { get; set; }
        List<Facts> FactsList { get; set; }
       }

       partial class PerfmonCounter
       {
             public int PerfmonCounterID { get; set;}
             public string PerfmonObject { get; set;}
             public string PerfmonCounterName { get; set;}
        List<Perfmon> PerfmonList { get; set; }
       }
}
